home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 16 / nyword22.zip / NYWHELP.ZIP / NYWHELP.3 < prev    next >
Text File  |  1986-09-29  |  2KB  |  35 lines

  1.                          CALCULATOR COMMANDS
  2.  
  3. <DESK CALC> (the ALT # key) brings up a desk calculator-like facility.
  4. You can type any kind of numeric expressions, even with parentheses. A
  5. running  total  is kept on the bottom line of the screen. Pressing '='
  6. displays the total on the  screen.  To  exit  from  this  mode,  press
  7. <CTRL> D. 
  8. Special commands you can use are :
  9.   m - transfers the current total to memory
  10.   M - transfers memory to the total
  11.   c - clears the total
  12.   C - clears the memory
  13.  
  14. <TEXT CALC> (the ALT $ key) is used to perform calculations on numbers
  15. which  you have in your text. When you press <TEXT CALC>, you are in a
  16. calculator mode which you press <CTRL> D to exit. All  of  the  cursor
  17. commands are valid in this mode. 
  18.     To  transfer  a  number  into the total, move the cursor under the
  19. number and press the space bar. You can use any arithmetic  operators,
  20. and  you can type numbers in with your calculations. Pressing '=' will
  21. insert the current total in your text at the next DECIMAL TAB STOP.
  22.     You  are  able  to  perform  one-touch  horizontal  and   vertical
  23. addition.  If  you have a row of numbers, position the cursor anywhere
  24. on or before the first number in the row. Pressing 'h'  will  add  the
  25. numbers  in  the row and insert the total at the next decimal tab stop
  26. after the last number. To add a column of  numbers,  move  the  cursor
  27. under  the first number in the column and press 'v'. The total will be
  28. put after the last number. Make sure there is a blank line  underneath
  29. the last row of numbers!!!!
  30.     Typing 'f' allows you to change the format which the total is dis-
  31. played. You must type '%[w][d]f', where w is the width of the  number,
  32. and  d  is  the  number  of  decimal  places.  The  default  format is
  33. '%-10.2f'. For those of you who are  'C'  programmers,  what  you  are
  34. really typing in is a new format to use in an sprintf statement. 
  35.